/*
 * @Author: your name
 * @Date: 2021-11-17 13:15:30
 * @LastEditTime: 2021-12-12 14:47:42
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue-antd-admin-yarn\src\services\admin.js
 */
import { housingAddApi, housingEditApi, housingListApi, housingSelOneApi, housingManyImageApi, housingCoverImageApi, housingTagListApi,housingBatchEditApi,housingAdminSelectApi } from '@/services/api'
import {
  request, METHOD
  // , removeAuthorization
} from '@/utils/request'



export function housingAdd(formData) {
  return request(housingAddApi, METHOD.POST, formData)
}
export function housingEdit(formData) {
  return request(housingEditApi, METHOD.POST, formData)
}
export function housingSelOne(formData) {
  return request(housingSelOneApi, METHOD.POST, formData)
}
export function housingList(formData) {
  return request(housingListApi, METHOD.POST, formData)
}
export function housingManyImage(formData) {
  return request(housingManyImageApi, METHOD.POST, formData)
}

export function housingCoverImage(formData) {
  return request(housingCoverImageApi, METHOD.POST, formData)
}

export function housingBatchEdit(formData) {
  return request(housingBatchEditApi, METHOD.POST, formData)
}
export function housingAdminSelect(formData) {
    return request(housingAdminSelectApi, METHOD.POST, formData)
  }

  export function housingTagList(formData) {
    return request(housingTagListApi, METHOD.POST, formData)
  }
  